﻿<%@page language="java" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>常用链接和相关链接管理</title>
		<style type="text/css">
		<!--
		.style1 {
			font-size: 18px;
			color: #FF0000;
			font-weight: bold;
		}
		
		.style3 {
			font-size: 14px;
			color: #000000;
		}
		-->
		</style>
	</head>
	<body>
		<div align="center" class="style1">
			<p>
				添加常用链接和相关链接
			</p>
		</div>
		<form action="<%=request.getContextPath()%>/hotlinkManage.do?method=hotlinksave" method="post">
			<table border="1" align="center">
				<tr>
					<td>
						链接名
					</td>
					<td>
						<input type="text" size="60" name="title">
					</td>
				</tr>
				<tr>
					<td>
						url
					</td>
					<td>
						<input type="text" size="60" name="url">
					</td>
				</tr>
				<tr>
					<td>排序值</td>
					<td>
						<input type="text" size="60" name="sortNumber" value="">
					</td>
				</tr>
				<tr>
					<td>
						类型
					</td>
					<td>
						<SELECT size="1" name=type length=200>
							<logic:iterate id="w" name="hotlinksortlist" indexId="count">
								<option value="${w[0]}">
									${w[1]}
								</option>
							</logic:iterate>
						</SELECT>
					</td>
				</tr>
				<tr align="center">
					<td colspan="2">
						<INPUT id="Save" style="CURSOR: hand" type="submit" value="添加" name="Save">
						<INPUT id="Cancel" style="CURSOR: hand" type="reset" value="取消" name="Cancel" 
							onclick="window.location.reload('<%=request.getContextPath()%>/hotlinkManage.do') " >
					</td>
				</tr>
			</table>
		</form>

	</body>
</html>
